package cn.sirun.com.fca.account.view.impl;

import android.app.Activity;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;
import android.widget.TextView;

import com.tencent.cloud.iov.common.flow.view.impl.BaseLoadingFlowView;
import com.tencent.cloud.iov.flow.presenter.IPresenter;
import com.tencent.cloud.iov.flow.view.IContentViewContainer;
import com.tencent.cloud.uikit.utils.SystemUiUtils;
import com.tencent.cloud.uikit.widget.edittext.LineEditText;

import cn.sirun.com.fca.account.R;

public class CompanyAuthOwnerFlowView extends BaseLoadingFlowView {
    private ImageView mNameIV, mPhoneIV, mIdentityIV;
    private TextView mNameTV, mPhoneTV, mIdentityTV, mSexTV;
    private LineEditText mNameET, mPhoneET, mIdentityET;
    private LinearLayout mSexLL;
    private View mNameLineV, mPhoneLineV, mIdentivyLineV;

    public CompanyAuthOwnerFlowView(Activity activity) {
        super(activity);
    }

    public CompanyAuthOwnerFlowView(Activity activity, IContentViewContainer container) {
        super(activity, container);
    }

    @Override
    protected IPresenter createPresenter() {
        return null;
    }

    @Override
    public void onCreate() {
        super.onCreate();
        setUpActionBar();
        initView();
    }

    private void setUpActionBar() {
        final Activity activity = getActivity();
        SystemUiUtils.showActionBar(activity, "");
    }

    private void initView() {
        setContentView(R.layout.company_auth_owner_activity);
        final Activity activity = getActivity();
        mNameIV = activity.findViewById(R.id.iv_name_prompt);
        mPhoneIV = activity.findViewById(R.id.iv_phone_prompt);
        mIdentityIV = activity.findViewById(R.id.iv_identity);

        mNameTV = activity.findViewById(R.id.tv_name);
        mPhoneTV = activity.findViewById(R.id.tv_phone);
        mIdentityTV = activity.findViewById(R.id.tv_identity);
        mSexTV = activity.findViewById(R.id.tv_sex);

        mNameET = activity.findViewById(R.id.et_name);
        mPhoneET = activity.findViewById(R.id.et_phone);
        mIdentityET = activity.findViewById(R.id.et_identity);

        mSexLL = activity.findViewById(R.id.ll_sex);

        mNameLineV = activity.findViewById(R.id.v_name);
        mPhoneLineV = activity.findViewById(R.id.v_phone_line);
        mIdentivyLineV = activity.findViewById(R.id.v_identity);

    }


}
